cmake_minimum_required(VERSION 3.5)

project(demo_player LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

find_package(Qt5 COMPONENTS Widgets REQUIRED)

include_directories(./*)

aux_source_directory(src SRC_LIST)
aux_source_directory(test SRC_LIST)

add_executable(demo_player ${SRC_LIST})

target_link_libraries(demo_player PRIVATE Qt5::Widgets)
